package com.dhecp.project.business.domain;

import java.util.Date;

import com.dhecp.core.domain.BaseBusinessEntitySimple;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 采购付款单 实体类
 * @author DH-lwl
 * @version 2019年12月23日
 */
public class StockPaymentOrder extends BaseBusinessEntitySimple{

	private static final long serialVersionUID = 1L;
	
	private Double fSumje;	//付款金额
	private Double fWfkJe;	//未付款金额
	private String vGysYh;	//供应商银行
    private String vGysZh;	//供应商账号
    private String vFkYh;	//付款银行
    private String vFkZh;	//付款账号
    private String vFkTj;	//付款途径编码
    private String vFkFs;	//付款方式编码
    private String vFkLx;	//付款类型编码
    private String vPzHm;	//凭证号码
    private String gProvider;//供应商编号
    private String gPName;	//供应商名称
    private String vPMan;	//供应商联系人
    private String vPTel;	//联系人电话
    private String pUser;	//采购员工号
    private String pDept;	//采购部门路径
    private String htGuid;	//销售合同GUID
    private String htBid;	//销售合同单号
    private String cgGuid;	//采购合同GUID
    private String cgBid;	//采购合同单号
    private String gcGuid;	//工程任务GUID
    private String gcBid;	//工程任务单号
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dFkRq;		//付款日期
    private Double fFkJe;	//已付款金额
    private Double fFkJe2;	//付款保存金额
    private Double fTkJe;	//退款金额（回填字段，不进行插入和更新操作）
    private Double fTkJe2;	//退款保存金额（回填字段，不进行插入和更新操作）
    private Boolean bbABCG;	//是否AB采购
    private String vFpHm;	//发票号码
    private Double fSpJe;	//收票金额
    private Double fCgJe;	//采购金额
    private String vPh;		//票号
    private String vCprQc;	//出票人全称
    private String vCprZh;	//出票人账号
    private String vFkhQc;	//付款行全称
    private String vFkDw;	//背书人
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dRq;		//出票日期
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dDqr;		//票据到期日
    private Double fHpJe;	//汇票金额
    
    //虚拟字段
    private String vFkTjName;//付款途径
    private String vFkFsName;//付款方式
    private String vFkLxName;//付款类型
    private String pUserName;//采购员
    private String pDeptName;//采购部门
    private Double fWtkJe;   //可退款金额

	public Double getbNumb() {
		return 1.0;	//bNumb直接赋值为1
	}
	public Double getbPrice() {
		if (fSumje == null) {
			return 0.0;
		}
		return fSumje;	//金额直接赋值给bPrice
	}
	public Double getfSumje() {
		if (fSumje == null) {
			return 0.0;
		}
		return fSumje;
	}
	public void setfSumje(Double fSumje) {
		this.fSumje = fSumje;
	}
	public Double getfWfkJe() {
		if (fWfkJe == null) {
			return 0.0;
		}
		return fWfkJe;
	}
	public void setfWfkJe(Double fWfkJe) {
		this.fWfkJe = fWfkJe;
	}
	public String getvGysYh() {
		return vGysYh;
	}
	public void setvGysYh(String vGysYh) {
		this.vGysYh = vGysYh;
	}
	public String getvGysZh() {
		return vGysZh;
	}
	public void setvGysZh(String vGysZh) {
		this.vGysZh = vGysZh;
	}
	public String getvFkYh() {
		return vFkYh;
	}
	public void setvFkYh(String vFkYh) {
		this.vFkYh = vFkYh;
	}
	public String getvFkZh() {
		return vFkZh;
	}
	public void setvFkZh(String vFkZh) {
		this.vFkZh = vFkZh;
	}
	public String getvFkTj() {
		return vFkTj;
	}
	public void setvFkTj(String vFkTj) {
		this.vFkTj = vFkTj;
	}
	public String getvFkFs() {
		return vFkFs;
	}
	public void setvFkFs(String vFkFs) {
		this.vFkFs = vFkFs;
	}
	public String getvFkLx() {
		return vFkLx;
	}
	public void setvFkLx(String vFkLx) {
		this.vFkLx = vFkLx;
	}
	public String getvPzHm() {
		return vPzHm;
	}
	public void setvPzHm(String vPzHm) {
		this.vPzHm = vPzHm;
	}
	public String getgProvider() {
		return gProvider;
	}
	public void setgProvider(String gProvider) {
		this.gProvider = gProvider;
	}
	public String getgPName() {
		return gPName;
	}
	public void setgPName(String gPName) {
		this.gPName = gPName;
	}
	public String getvPMan() {
		return vPMan;
	}
	public void setvPMan(String vPMan) {
		this.vPMan = vPMan;
	}
	public String getvPTel() {
		return vPTel;
	}
	public void setvPTel(String vPTel) {
		this.vPTel = vPTel;
	}
	public String getpUser() {
		return pUser;
	}
	public void setpUser(String pUser) {
		this.pUser = pUser;
	}
	public String getpDept() {
		return pDept;
	}
	public void setpDept(String pDept) {
		this.pDept = pDept;
	}
	public String getHtGuid() {
		return htGuid;
	}
	public void setHtGuid(String htGuid) {
		this.htGuid = htGuid;
	}
	public String getHtBid() {
		return htBid;
	}
	public void setHtBid(String htBid) {
		this.htBid = htBid;
	}
	public String getCgGuid() {
		return cgGuid;
	}
	public void setCgGuid(String cgGuid) {
		this.cgGuid = cgGuid;
	}
	public String getCgBid() {
		return cgBid;
	}
	public void setCgBid(String cgBid) {
		this.cgBid = cgBid;
	}
	public String getGcGuid() {
		return gcGuid;
	}
	public void setGcGuid(String gcGuid) {
		this.gcGuid = gcGuid;
	}
	public String getGcBid() {
		return gcBid;
	}
	public void setGcBid(String gcBid) {
		this.gcBid = gcBid;
	}
	public Date getdFkRq() {
		return dFkRq;
	}
	public void setdFkRq(Date dFkRq) {
		this.dFkRq = dFkRq;
	}
	public Double getfFkJe() {
		if (fFkJe == null) {
			return 0.0;
		}
		return fFkJe;
	}
	public void setfFkJe(Double fFkJe) {
		this.fFkJe = fFkJe;
	}
	public Double getfFkJe2() {
		if (fFkJe2 == null) {
			return 0.0;
		}
		return fFkJe2;
	}
	public void setfFkJe2(Double fFkJe2) {
		this.fFkJe2 = fFkJe2;
	}
	public Double getfTkJe() {
		if (fTkJe == null) {
			return 0.0;
		}
		return fTkJe;
	}
	public void setfTkJe(Double fTkJe) {
		this.fTkJe = fTkJe;
	}
	public Double getfTkJe2() {
		if (fTkJe2 == null) {
			return 0.0;
		}
		return fTkJe2;
	}
	public void setfTkJe2(Double fTkJe2) {
		this.fTkJe2 = fTkJe2;
	}
	public Boolean getBbABCG() {
		return bbABCG;
	}
	public void setBbABCG(Boolean bbABCG) {
		this.bbABCG = bbABCG;
	}
	public String getvFpHm() {
		return vFpHm;
	}
	public void setvFpHm(String vFpHm) {
		this.vFpHm = vFpHm;
	}
	public Double getfSpJe() {
		if (fSpJe == null) {
			return 0.0;
		}
		return fSpJe;
	}
	public void setfSpJe(Double fSpJe) {
		this.fSpJe = fSpJe;
	}
	public Double getfCgJe() {
		if (fCgJe == null) {
			return 0.0;
		}
		return fCgJe;
	}
	public void setfCgJe(Double fCgJe) {
		this.fCgJe = fCgJe;
	}
	public String getvFkTjName() {
		return vFkTjName;
	}
	public void setvFkTjName(String vFkTjName) {
		this.vFkTjName = vFkTjName;
	}
	public String getvFkFsName() {
		return vFkFsName;
	}
	public void setvFkFsName(String vFkFsName) {
		this.vFkFsName = vFkFsName;
	}
	public String getvFkLxName() {
		return vFkLxName;
	}
	public void setvFkLxName(String vFkLxName) {
		this.vFkLxName = vFkLxName;
	}
	public String getpUserName() {
		return pUserName;
	}
	public void setpUserName(String pUserName) {
		this.pUserName = pUserName;
	}
	public String getpDeptName() {
		return pDeptName;
	}
	public void setpDeptName(String pDeptName) {
		this.pDeptName = pDeptName;
	}
	public Double getfWtkJe() {
		return fWtkJe;
	}
	public void setfWtkJe(Double fWtkJe) {
		this.fWtkJe = fWtkJe;
	}
	public String getvPh() {
		return vPh;
	}
	public void setvPh(String vPh) {
		this.vPh = vPh;
	}
	public String getvCprQc() {
		return vCprQc;
	}
	public void setvCprQc(String vCprQc) {
		this.vCprQc = vCprQc;
	}
	public String getvCprZh() {
		return vCprZh;
	}
	public void setvCprZh(String vCprZh) {
		this.vCprZh = vCprZh;
	}
	public String getvFkhQc() {
		return vFkhQc;
	}
	public void setvFkhQc(String vFkhQc) {
		this.vFkhQc = vFkhQc;
	}
	public String getvFkDw() {
		return vFkDw;
	}
	public void setvFkDw(String vFkDw) {
		this.vFkDw = vFkDw;
	}
	public Date getdRq() {
		return dRq;
	}
	public void setdRq(Date dRq) {
		this.dRq = dRq;
	}
	public Date getdDqr() {
		return dDqr;
	}
	public void setdDqr(Date dDqr) {
		this.dDqr = dDqr;
	}
	public Double getfHpJe() {
		if (fHpJe == null) {
			return 0.0;
		}
		return fHpJe;
	}
	public void setfHpJe(Double fHpJe) {
		this.fHpJe = fHpJe;
	}
	
	
}
